package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.MyPage;
import com.itheima.dto.DishDto;

import java.util.List;

public interface DishService {
    List<DishDto> findAll(long id,Integer status);

    int add(DishDto dto);

    IPage<DishDto> /*IPage<Dish>*/ findAll(MyPage page);

    int update(DishDto dishDto);

    int updateStatus(int status,List<Long> statusId);
}
